package com.houtai.dao;


import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface TdSchoolDao {

    /**
     * @Purpose:    更新评论数量
     * @param:      user
     * @Version:    1.0
     * @Author:     li
     * @time:       2019/8/21
     * @return:     void
     */
    void updateTdSchoolRating(@Param("school_rating")int school_rating, @Param("school_id")int school_id);

    /**
     * @Purpose:    更新学习数量
     * @param:      user
     * @Version:    1.0
     * @Author:     li
     * @time:       2019/8/21
     * @return:     void
     */
    void updateTdSchoolLearningSize( @Param("school_id")int school_id);
}
